﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000DF RID: 223
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BAEECFDDJCH : IMessage<BAEECFDDJCH>, IMessage, IEquatable<BAEECFDDJCH>, IDeepCloneable<BAEECFDDJCH>, IBufferMessage
	{
		// Token: 0x170002FC RID: 764
		// (get) Token: 0x06000A37 RID: 2615 RVA: 0x0001E700 File Offset: 0x0001C900
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BAEECFDDJCH> Parser
		{
			get
			{
				return BAEECFDDJCH._parser;
			}
		}

		// Token: 0x170002FD RID: 765
		// (get) Token: 0x06000A38 RID: 2616 RVA: 0x0001E707 File Offset: 0x0001C907
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BAEECFDDJCHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170002FE RID: 766
		// (get) Token: 0x06000A39 RID: 2617 RVA: 0x0001E719 File Offset: 0x0001C919
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BAEECFDDJCH.Descriptor;
			}
		}

		// Token: 0x06000A3A RID: 2618 RVA: 0x0001E720 File Offset: 0x0001C920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BAEECFDDJCH()
		{
		}

		// Token: 0x06000A3B RID: 2619 RVA: 0x0001E728 File Offset: 0x0001C928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BAEECFDDJCH(BAEECFDDJCH other) : this()
		{
			this.trainPartyRank_ = other.trainPartyRank_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000A3C RID: 2620 RVA: 0x0001E74D File Offset: 0x0001C94D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BAEECFDDJCH Clone()
		{
			return new BAEECFDDJCH(this);
		}

		// Token: 0x170002FF RID: 767
		// (get) Token: 0x06000A3D RID: 2621 RVA: 0x0001E755 File Offset: 0x0001C955
		// (set) Token: 0x06000A3E RID: 2622 RVA: 0x0001E75D File Offset: 0x0001C95D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TrainPartyRank
		{
			get
			{
				return this.trainPartyRank_;
			}
			set
			{
				this.trainPartyRank_ = value;
			}
		}

		// Token: 0x06000A3F RID: 2623 RVA: 0x0001E766 File Offset: 0x0001C966
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BAEECFDDJCH);
		}

		// Token: 0x06000A40 RID: 2624 RVA: 0x0001E774 File Offset: 0x0001C974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BAEECFDDJCH other)
		{
			return other != null && (other == this || (this.TrainPartyRank == other.TrainPartyRank && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000A41 RID: 2625 RVA: 0x0001E7A4 File Offset: 0x0001C9A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TrainPartyRank != 0U)
			{
				num ^= this.TrainPartyRank.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000A42 RID: 2626 RVA: 0x0001E7E3 File Offset: 0x0001C9E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000A43 RID: 2627 RVA: 0x0001E7EB File Offset: 0x0001C9EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000A44 RID: 2628 RVA: 0x0001E7F4 File Offset: 0x0001C9F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TrainPartyRank != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.TrainPartyRank);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000A45 RID: 2629 RVA: 0x0001E828 File Offset: 0x0001CA28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TrainPartyRank != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TrainPartyRank);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000A46 RID: 2630 RVA: 0x0001E866 File Offset: 0x0001CA66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BAEECFDDJCH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TrainPartyRank != 0U)
			{
				this.TrainPartyRank = other.TrainPartyRank;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000A47 RID: 2631 RVA: 0x0001E897 File Offset: 0x0001CA97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000A48 RID: 2632 RVA: 0x0001E8A0 File Offset: 0x0001CAA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TrainPartyRank = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000423 RID: 1059
		private static readonly MessageParser<BAEECFDDJCH> _parser = new MessageParser<BAEECFDDJCH>(() => new BAEECFDDJCH());

		// Token: 0x04000424 RID: 1060
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000425 RID: 1061
		public const int TrainPartyRankFieldNumber = 8;

		// Token: 0x04000426 RID: 1062
		private uint trainPartyRank_;
	}
}
